<template>
  <div class="details">
    <head-top routerName="noviceStrategyDetails" title="新手攻略"></head-top>
    <div class="content-wrap">
      <div class="name">{{ item.label }}</div>
      <div class="time">{{ item.time }}</div>
      <div class="desc" v-html="item.desc"></div>
    </div>
  </div>
</template>
<script>
import HeadTop from "@/components/head";
import { getDesc } from "./list";
export default {
  components: {
    HeadTop,
  },
  data() {
    return {
      item: getDesc(this.$route.query.id),
    };
  },
};
</script>
<style lang="less" scoped>
.content-wrap {
  .name {
    height: 25px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 22px;
  }
  .time {
    height: 17px;
    font-size: 12px;
    font-weight: 400;
    color: #999999;
    line-height: 17px;
  }
  .desc {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 400;
    color: #333333;
    line-height: 17px;
    /deep/p {
      margin: 0 0 10px 0;
    }
  }
}
</style>